package com.banmao.algorithm.No201To300.No257;

import java.util.List;

public class Answer {

    public static void main(String[] args) {

        Solution1 solution = new Solution1();

        TreeNode root = new TreeNode(1, new TreeNode(2, null, new TreeNode(5)), new TreeNode(3));
        //TreeNode root = new TreeNode(1);

        List<String> result = solution.binaryTreePaths(root);

        for (String s : result) {
            System.out.println(s);
        }

    }

}
